<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>模板操作</title>
    <style>
        ul {
            list-style: none;
            padding: 0;
            margin: 0 auto;
            width: 500px;
        }
        ul li {
            height: 40px;
            line-height: 40px;
            text-align: center;
            font-size: 20px;
            background: lightblue;
        }

        ul li a {
             color: white;
        }
    </style>
</head>
<body>

<ul>
    {% for movie_name in movies %}
         <li>
            <a href="#">{{ movie_name }}</a>
         </li>
    {% endfor %}


</ul>

</body>
</html>